package com.delu.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 储值卡表(未实名)
 * </p>
 *
 * @author 6子的爹
 * @since 2021-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("storage_table")
@ApiModel(value="StorageTable对象", description="储值卡表(未实名)")
public class StorageTable implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "储值卡Id")
    @TableId(value = "storage_card_id", type = IdType.AUTO)
    private String storageCardId;

    @ApiModelProperty(value = "储值卡密码")
    @TableField("storage_card_password")
    private String storageCardPassword;

    @ApiModelProperty(value = "金额")
    @TableField("storage_money")
    private BigDecimal storageMoney;

    @ApiModelProperty(value = "状态 0无余额失效  1有效 ")
    @TableField("storage_status")
    private Integer storageStatus;


}
